package com.iot.ht.controller.htrole.service;

import com.iot.core.data.BasePageDtQto;
import com.iot.core.data.BaseQto;
import com.iot.core.data.IdNameDto;
import com.iot.core.data.entity.HtRole;
import com.iot.core.data.service.IService;
import com.iot.ht.controller.htrole.data.HtRoleDto;
import com.mybatisflex.core.paginate.Page;

import java.util.List;

public interface IHtRoleService extends IService<HtRole> {

    Page<HtRoleDto> page(BasePageDtQto qm);
    HtRoleDto detail(BaseQto qm);
    HtRoleDto insertInit();
    int insert(HtRoleDto mm);
    int update(HtRoleDto mm);

    List<IdNameDto> listByDeptId(BaseQto mm);
}
